package com.offcn.service.Impl;

import com.offcn.mapper.Ren_AddressMapper;
import com.offcn.pojo.Ren;
import com.offcn.service.Ren_AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Ren_AddressServiceImpl implements Ren_AddressService {
    @Autowired
    Ren_AddressMapper ren_addressMapper;
    public Ren selectid(int id) {
        return ren_addressMapper.selectid(id);
    }

    public List<Ren> selectall() {
        return ren_addressMapper.selectall();
    }
}
